package cn.yuxiaoyuan.pojo.ro;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author solargen
 * @version 1.0
 * @date 2025/6/28 14:26
 */
@Data
public class CreateOrderRo {
    private String startPlace;
    @NotEmpty(message = "起点坐标不能为空")
    private String startPlaceLongitude;
    @NotEmpty(message = "起点坐标不能为空")
    private String startPlaceLatitude;

    private String endPlace;
    @NotEmpty(message = "终点坐标不能为空")
    private String endPlaceLongitude;
    @NotEmpty(message = "终点坐标不能为空")
    private String endPlaceLatitude;

    @NotEmpty(message = "车牌号不能为空")
    private String carPlate;
    @NotEmpty(message = "车辆类型不能为空")
    private String carType;
}
